﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DataDownloadList.aspx.cs"
    Inherits="DataDownload_DataDownloadList" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="pager" %>
<%@ Register Src="~/Controls/Header.ascx" TagName="Header" TagPrefix="ucHeader" %>
<%@ Register Src="~/Controls/Footer.ascx" TagName="Footer" TagPrefix="ucFooter" %>
<%@ Register Src="~/Controls/Left.ascx" TagName="Left" TagPrefix="ucLeft" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>资料下载</title>
    <meta name="keywords" content="<%= ComDataHelper.GetKeywordsById() %>" />
    <meta http-equiv="Content-Type" content="text/html;charset=gb2312"/>
    <link href="../Style/css/default.css" rel="stylesheet" type="text/css" />
    <script src="../Style/js/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../Style/js/Common.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <center>
        <ucHeader:Header ID="ucHeader" runat="server" />
        <div class="divContent">
            <ucLeft:Left ID="ucLeft" runat="server" />
            <div class="divRight">
                <div class="divCurrentPosition">
                    当前位置： 首页 > 下载中心
                </div>
                <div class="divShowContent">
                    <div class="list">
                        <asp:Repeater ID="repDownload" runat="server">
                            <HeaderTemplate>
                                <ul>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <li>
                                    <div class="title">
                                        <%# Eval("TName") != null ? Eval("TName").ToString().Length > 30 ? Eval("TName").ToString().Substring(0,30) + "..." : Eval("TName") : ""%></a>
                                    </div>
                                    <div class="date">
                                        <%# Eval("recorddate","{0:yyyy-MM-dd}")%>
                                    </div>
                                    <div class="down">
                                        <a href='<%# GetFileUrl(Eval("FileUrl").ToString())%>'  target="_blank">下载</a>
                                    </div>
                                </li>
                            </ItemTemplate>
                            <FooterTemplate>
                                </ul>
                            </FooterTemplate>
                        </asp:Repeater>
                    </div>
                </div>
                <div class="clear">
                </div>
                <div class="divContentPage">
                    <pager:AspNetPager ID="AspNetPager" runat="server" Width="100%" UrlPaging="true"
                        ShowPageIndexBox="Always" PageIndexBoxType="DropDownList" TextBeforePageIndexBox="跳转: "
                        HorizontalAlign="right" PageSize="10" OnPageChanged="AspNetPager_PageChanged"
                        EnableTheming="true" FirstPageText="首页" LastPageText="尾页" 
                        NextPageText="下一页" PrevPageText="上一页">
                    </pager:AspNetPager>
                </div>
            </div>
        </div>
        <ucFooter:Footer ID="ucFooter" runat="server" />
    </center>
    </form>
</body>
</html>
